Namespace.Use("Application.Net.Configuration", function(ns) {
    //
    //  Constants.
    //
    var cst_ReconnectDelay = 500 /*  Unit: ms  */;
    var cst_FetchInterval = 125 /*  Unit: ms  */;

    //
    //  Public APIs.
    //
    function GetConnectionURL() {
        return "ws://" + location.host + "/mq";
    }

    function GetReconnectDelay() {
        return cst_ReconnectDelay;
    }

    function GetFetchInterval() {
        return cst_FetchInterval;
    }

    //  Export public APIs.
    Namespace.Export(ns, "GetConnectionURL", GetConnectionURL);
    Namespace.Export(ns, "GetReconnectDelay", GetReconnectDelay);
    Namespace.Export(ns, "GetFetchInterval", GetFetchInterval);
});
